#include <iostream>
using namespace std;
int main()
{
    double a[3] = {1.123, 1.345, 1.368};
    char *b;
    b = (char *)&a;
    cout << ((double *)(b))[0] << endl;
    cout << ((double *)(b))[1] << endl;
    cout << ((double *)(b))[2] << endl;
}